package com.fqh.service;

import com.fqh.entity.Diningtable;

import java.util.List;

public interface TableService {

    Integer findTableCount(String str);

    List<Diningtable> findByPage(int page, int limit, String search);

    Integer findTotalCount(String search);

    void deleteTableByTableId(String tableId) throws Exception;

    void addTable(String tableId) throws Exception;

    Diningtable findTableByTableId(String tableId);

    void updateTable(String tableId, String tableState) throws Exception;
}
